import request from "@/utils/request";

// 查询企业财务信息列表
export function listComFinancialInfo(query) {
  return request({
    url: "/basic-api/company/comFinancialInfo/com/list",
    method: "get",
    params: query,
  });
}

// 查询企业财务信息详细
export function getComFinancialInfo(id) {
  return request({
    url: "/basic-api/company/comFinancialInfo/com/" + id,
    method: "get",
  });
}

// 新增企业财务信息
export function addComFinancialInfo(data) {
  return request({
    url: "/basic-api/company/comFinancialInfo/com",
    method: "post",
    data: data,
  });
}

// 修改企业财务信息
export function updateComFinancialInfo(data) {
  return request({
    url: "/basic-api/company/comFinancialInfo/com",
    method: "put",
    data: data,
  });
}

// 删除企业财务信息
export function delComFinancialInfo(id) {
  return request({
    url: "/basic-api/company/comFinancialInfo/com/" + id,
    method: "delete",
  });
}
